export default {
  methods: {
    startProcess: function(data) {
      return this.request({
        url: this.startProcessUrl,
        method: 'post',
        headers: {
          "Content-Type": "application/x-www-form-urlencoded"
        },
        data
      })
    },
    activateProcess: function(data) {
      return this.request({
        url: this.activateProcessUrl,
        method: 'post',
        headers: {
          "Content-Type": "application/x-www-form-urlencoded"
        },
        data
      })
    },
    suspendProcess: function(data) {
      return this.request({
        url: this.suspendProcessUrl,
        method: 'post',
        headers: {
          "Content-Type": "application/x-www-form-urlencoded"
        },
        data
      })
    }
  }
}
